home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_mainP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-25  |  3.1 KB  |  102 lines

  1. /*****************************************************************************
  2.   FILE           : ui_mainP.h
  3.   SHORTNAME      : mainP.h
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : Header file of correspondent '.c' file
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer
  10.   DATE           : 1.4.1990
  11.  
  12.   CHANGED BY     : Guenter Mamier
  13.   IDENTIFICATION : @(#)ui_mainP.h    1.11 3/2/94
  14.   SCCS VERSION   : 1.11
  15.   LAST CHANGE    : 3/2/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.              
  19. ******************************************************************************/
  20.  
  21.  
  22. #ifndef _UI_MAINP_DEFINED_
  23. #define _UI_MAINP_DEFINED_
  24.  
  25.  
  26.  
  27. extern void ui_xCreateGC (Window);
  28. extern void ui_printMessage (char *);
  29. extern void ui_displayDone (Widget, struct Ui_DisplayType *, caddr_t);
  30. extern void ui_popupDone (Widget, int, caddr_t);
  31. extern void ui_rem_initNet (Widget, int, caddr_t);
  32. extern void ui_popupWeights (Widget, int, caddr_t);
  33. extern void ui_editPopup (Widget, struct SimpleListType *, caddr_t);
  34. extern void ui_editSitePopup (Widget, struct SimpleListType *, caddr_t);
  35. extern void ui_listPopup (struct SimpleListType *, Position, Position);
  36. extern void ui_displayFilePanel (Widget, Widget, caddr_t);
  37. extern void ui_displayLayerPanel (Position, Position);
  38. extern void ui_displayGraphic (Widget, struct Ui_DisplayType *, caddr_t);
  39. extern void ui_displayRemote (Widget, caddr_t, caddr_t);
  40. extern void ui_displayText (Widget, caddr_t, caddr_t);
  41. extern void ui_displayHelp (char *);
  42. extern void ui_guiQuit (Widget, XtPointer, XtPointer);
  43. extern void ui_loadFileFromCommandLine (void);
  44. extern void ui_parseCmdLine (XtAppContext, int, char *[]);
  45.  
  46.  
  47.     /* Handles of popup shells. Used by ui_popupDone() */
  48. extern Widget ui_popRemote, ui_popResult;
  49.  
  50.     /* message widget in the remote panel */
  51. extern Widget ui_remoteMessageWidget;
  52.  
  53.     /* widgets of init net */
  54. extern Widget  ui_initParameterWidgets[];
  55.  
  56.     /* widgets of jog/random weights panel */
  57. extern Widget  ui_highLimitWidget, ui_lowLimitWidget;
  58.  
  59.     /* widget of message displayed when the 
  60.     bubble of a slider in the setup panel was moved */
  61. extern Widget  ui_setupSliderMessage;
  62.  
  63. extern GC             ui_gc;         /* xgui graphic context */
  64. extern XFontStruct   *ui_fontStruct; 
  65. extern int            ui_screen;     /* X screen */
  66.  
  67.     /* display for with the setup panel was displayed */
  68. extern struct Ui_DisplayType  *ui_set_displayPtr; /* for xgui */
  69.  
  70. extern Display       *ui_display;    /* for X */
  71.  
  72. extern Widget  ui_toplevel;
  73. extern Widget  ui_message;  /* message in the manager panel */
  74.  
  75.     /* shell widgets of info, remote, setup and file panel */
  76. extern Widget  ui_infoPanel, ui_setupPanel;
  77.  
  78.     /* widgets in the setup panel */
  79. extern Widget  ui_set_gridWidthWidget, ui_set_originXWidget;
  80. extern Widget  ui_set_originYWidget;
  81. extern Widget  ui_set_subnetWidget;
  82. extern Widget  ui_set_zWidget;
  83.  
  84.     /* panel created yes or no */
  85. extern Bool    ui_setupIsCreated;
  86.  
  87.     /* data displayed in the file panel */
  88. extern char    ui_edit_actFuncName[];
  89. extern char    ui_edit_outFuncName[];
  90. extern char    ui_edit_FTypeName[];
  91.  
  92.  
  93. extern XGCValues      ui_gcValues;   /* initial gc values */
  94.  
  95.  
  96.  
  97. #endif /* _UI_MAINP_DEFINED_ */
  98.  
  99.  
  100. /* end of file */
  101. /* lines: 100 */
  102.